/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.ritesh.client;

import com.extjs.gxt.ui.client.Style.LayoutRegion;
import com.extjs.gxt.ui.client.util.Margins;
import com.extjs.gxt.ui.client.widget.ContentPanel;
import com.extjs.gxt.ui.client.widget.layout.BorderLayout;
import com.extjs.gxt.ui.client.widget.layout.BorderLayoutData;

/**
 *
 * @author RITESH
 */
public class HomePage extends ContentPanel {
    public HomePage()
    {
    setSize(980,630);
    setHeaderVisible(false);
    BorderLayout layout = new BorderLayout();
    setLayout(layout);
    BorderLayoutData menuBarToolBarLayoutData=
new BorderLayoutData(LayoutRegion.NORTH, 55);
    menuBarToolBarLayoutData.setMargins(new Margins(5));
    BorderLayoutData leftSidebarLayoutData =
new BorderLayoutData(LayoutRegion.WEST, 150);
leftSidebarLayoutData.setSplit(true);
leftSidebarLayoutData.setCollapsible(true);
leftSidebarLayoutData.setMargins(new Margins(0, 5, 0, 5));
BorderLayoutData mainContentsLayoutData =
new BorderLayoutData(LayoutRegion.CENTER);
mainContentsLayoutData.setMargins(new Margins(0));

BorderLayoutData rightSidebarLayoutData =
new BorderLayoutData(LayoutRegion.EAST, 150);
rightSidebarLayoutData.setSplit(true);
rightSidebarLayoutData.setCollapsible(true);
rightSidebarLayoutData.setMargins(new Margins(0, 5, 0, 5));
BorderLayoutData footerLayoutData =
new BorderLayoutData(LayoutRegion.SOUTH, 20);
footerLayoutData.setMargins(new Margins(5));
    }

}
